<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>{:config('Conf.web_name')}</title>
    <link rel="stylesheet" href="{:config('Conf.aliicon')}" charset="utf-8">
    <!--<link rel="stylesheet" href="__INDEX__/layui/css/layui.css">-->
    <!--<link rel="stylesheet" href="__INDEX__/css/global.css" charset="utf-8">-->
    <link rel="stylesheet" href="__INDEX__/css/style.min.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/color.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/iconfont.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/bootstrap.min.css" charset="utf-8">
    <link rel="stylesheet" href="__INDEX__/css/swiper.min.css" charset="utf-8">

    <!--<script src="__INDEX__/layui/layui.js"></script>-->
    <script src="__INDEX__/js/bootstrap.min.js"></script>
    <script src="__INDEX__/js/lazyload.js"></script>
    <script src="__INDEX__/js/history.js"></script>
    <script src="__INDEX__/js/common.js"></script>

    <script type='text/javascript' src='__INDEX__/js/jquery-1.7.2.min.js'></script>
    <script type='text/javascript' src='__Function__/js/function.js'></script>
    <style>

        .tabbar .item{color: #1AB394;}
        .hy-index-menu li a:hover,.hy-index-menu li a:hover .icon,.hy-index-tags li a:hover,.hy-cascade .content-meun .head dl dd span,.videopic .score,.hy-page ul li a:hover,.hy-page ul li.active a,.btn-default:hover,.hy-play-list .item .panel .playlist ul li a:hover,.hy-play-list .item .panel .playlist0 ul li a:hover,.hy-video-ranking li .number.active,.hy-video-details .item .content .head .hit{ background-color: #1AB394;}
        a:hover,.text-color,.hy-cascade .content-meun .item ul li a.active,.hy-cascade .content-meun .head span{ color: #1AB394; }
        a:hover,.text-color,.hy-cascade .content-meun0 .item ul li a.active,.hy-cascade .content-meun0 .head span{ color: #1AB394; }
        .swiper-pagination-bullet.swiper-pagination-bullet-active{background:#1AB394}
        .hy-switch-tabs .nav-tabs li.active a,.hy-switch-tabs .nav-tabs li.active a:hover,.hy-switch-tabs .nav-tabs li.active a:focus,.hy-head-menu .item .menulist li.active a{ border: 0; background: none; border-bottom: 2px solid #1AB394; color: #1AB394;}
    </style>

</head>


<body style="background-color: rgb(204, 204, 204);">
<div class="hy-head-menu">
    <div class="container">
        <div class="row">
            <div class="item">
                <div class="logo hidden-xs">
                    <a class="hidden-sm hidden-xs" href="/"><img
                            src="{:config('Conf.web_logo')}">
                    </a>
                    <a class="visible-sm visible-xs" href="/">
                        <img src="{:config('Conf.web_logo')}">
                    </a>
                </div>

                <div class="search">

                    <input class="form-control" placeholder="输入影视关键词..." name="key" type="text"
                           onkeydown="if(event.keyCode==13)  sub();" id="keyword" required="">
                    <input type="submit" id="searchbutton" value="" class="hide">
                    <a href="javascript:" class="btns" title="" onclick="sub()"><i
                            class="icon iconfont icon-search"></i></a>

                    <script language="javascript" type="text/javascript">
                        function sub() {

                            var k = $('#keyword').val();
                            k = trim(k);
                            window.location.href = "index/Seacher/index/key/"+k;

                        }
                        function trim(s) {
                            return trimRight(trimLeft(s));
                        }
                        function trimLeft(s) {
                            if (s == null) {
                                return "";
                            }
                            var whitespace = new String(" \t\n\r");
                            var str = new String(s);
                            if (whitespace.indexOf(str.charAt(0)) != -1) {
                                var j = 0, i = str.length;
                                while (j < i && whitespace.indexOf(str.charAt(j)) != -1) {
                                    j++;
                                }
                                str = str.substring(j, i);
                            }
                            return str;
                        }

                        function trimRight(s) {
                            if (s == null) return "";
                            var whitespace = new String(" \t\n\r");
                            var str = new String(s);
                            if (whitespace.indexOf(str.charAt(str.length - 1)) != -1) {
                                var i = str.length - 1;
                                while (i >= 0 && whitespace.indexOf(str.charAt(i)) != -1) {
                                    i--;
                                }
                                str = str.substring(0, i + 1);
                            }
                            return str;
                        }

                    </script>

                </div>
                <ul class="menulist hidden-xs">
                    <li><a href="/">首页</a></li>
                    <li><a href="{:url('Index/lst',array('types'=>'dy'))}"><font color="red">电影</font></a></li>
                    <li><a href="{:url('Index/lst',array('types'=>'dsj'))}"><font color="">电视剧</font></a></li>
                    <li><a href="#"><font color="">综艺</font></a></li>
                    <li><a href="#"><font color="">动漫</font></a></li>
                    <li><a href="#"><font color="">美剧</font></a></li>
                </ul>

            </div>
        </div>
    </div>
</div>
{__CONTENT__}

</body>
</html>